@import url("fontface.css");

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

* {
    outline: 0;
}

::selection,
::-moz-selection {
    background-color: transparent;
}

html {
    position: relative;
    height: 100%;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: white;
    font-size: 62.5%;
    height: 100%;
    /*background: url('../images/yellow-background.jpg') center center;*/
}

p {
    font-size: 1.4em;
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 20px;
    color: white;
}

header {
    position: absolute;
    top: 0;
    left: 110px;
    right: 0;
    height: 60px;
    background-color: #333;
}

.header-content {
    position: relative;
    left: 50%;
    width: 98px;
    height: 40px;
    margin: 10px 0 10px -49px;
}

.header-logo {
    width: 98px;
    height: 40px;
    background: url('../images/devcities-logo.png');
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

    /* Retina-specific stuff here */
    .header-logo {
        background: url('../images/devcities-logo@2x.png');
        background-size: 98px 40px;
    }

}

#jPanelMenu-menu {
    padding-top: 60px;
    background-color: #333;
    -webkit-box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25);
    box-shadow: inset -1.5em 0 1.5em -0.75em rgba(0, 0, 0, 0.25);
}

li.city {
    position: relative;
    width: 250px;
    padding: 10px;
    line-height: 18px;
    text-align: left;
    color: #ccc;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -webkit-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
}

.city-menu li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

li.city:hover {
    color: white;
    background-color: #464646;
    border-color: #464646;
}

li.city.active {
    color: white;
}

li.city.active::after {
    display: block;
    content: "";
    position: absolute;
    top: 14px;
    right: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #ccc;
}

.city-menu li:last-child:hover {
    border-color: #464646;
}

.city-menu img.rounded {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    border-radius: 100px;
}

.city-name {
    font-size: 13px;
    vertical-align: middle;
    margin-left: 5px;
}

nav.city-menu {
    display: none;
}

.side-categories {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 110px;
    text-align: center;
    background-color: #333;
}

.menu {
    width: 110px;
    height: 47px;
}

.menu-button {
    width: 42px;
    height: 36px;
    color: white;
    box-sizing: border-box;
    padding-top: 7px;
    font-size: 23px;
    margin: 13px auto 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -webkit-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
}

.menu-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.selected-city {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 110px;
    height: 55px;
    background-color: #424242;
    z-index: 25;
}

.city-flags {
    position: relative;
    margin: 9px auto 0;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.city-flag {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.city-flag.selected {
    display: block;
}

.city-flag img {
    width: 40px;
    height: 40px;
    border-radius: 100px;
}

ul.categories {
    /*overflow-y: scroll;*/
    overflow: auto;
}

ul.categories li {
    line-height: 1.2em;
    cursor: move;
    padding: 10px 0;
    color: white;
    transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    -webkit-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
}

ul.categories li.hover {
    background-color: #FADE42;
    color: #333;
}

.category {
    font-family: Icons;
    font-size: 5em;
    margin-bottom: 5px;
    z-index: 20;
}

.main-wrapper {
    position: absolute;
    top: 140px;
    left: 150px;
    right: 40px;
    bottom: 40px;
}

.display-options {
    position: absolute;
    right: 0;
    top: -35px;
}

ul.display-options-ul li {
    display: inline;
    font-size: 2em;
    cursor: pointer;
    color: #666;
    opacity: 0.8;
    margin-left: 5px;
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
}

ul.display-options-ul li.active,
ul.display-options-ul li.fullscreen-active,
ul.display-options-ul li:hover {
    color: #111;
}

ul.display-options-ul span {
    margin-right: 5px;
    font-family: "Lucida Grande", helvetica, sans-serif;
    font-size: 12px;
    line-height: 23px;
    color: #666;
    vertical-align: top;
}

#layout-fullscreen-button {
    font-size: 1.8em;
}

.graphs {
    position: relative;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    border-radius: 4px;
    border-top-left-radius: 0;
    background-color: white;
    border: 1px solid #B9B9B9;
    border-top: 1px solid #C9C9C9;
    border-bottom: 1px solid #ACACAC;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
}

.graph-drawzone {
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}

.graph-info {
    position: absolute;
    top: -32px;
    left: -1px;
    width: 290px;
    height: 25px;
    padding: 5px 0 0 5px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #555;
    background-color: white;
    border: 1px solid #B9B9B9;
    border-top: 1px solid #C9C9C9;
    border-bottom: 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
}

.graph-info-blank {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 295px;
    height: 8px;
    background-color: white;
}

#chosen-category-icon {
    font-size: 2em;
    margin-left: 2px;
}

.category-city {
    font-size: 1.1em;
    text-shadow: 0 1px 1px white;
    margin: 0 5px;
}

.more-info-graph-btn {
    display: none;
    position: relative;
    top: 1px;
    font-size: 1.4em;
    cursor: pointer;
}

.close-graph-btn {
    display: none;
    position: absolute;
    top: 5px;
    right: 6px;
    font-size: 2em;
    color: #999;
    cursor: pointer;
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
}

.close-graph-btn:hover {
    color: rgb(226, 77, 77);
}

.graph-1-1 {
    width: 100%;
    height: 100%;
}

.graph-1-2 {
    float: left;
    width: 49%;
    height: 100%;
}

.graph-2-2 {
    float: right;
    width: 49%;
    height: 100%;
}

.graph-1-4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 49%;
    height: 45%;
}

.graph-2-4 {
    position: absolute;
    top: 0;
    right: 0;
    width: 49%;
    height: 45%;
}

.graph-3-4 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 49%;
    height: 45%;
}

.graph-4-4 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 49%;
    height: 45%;
}

.graph-dropzone {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40%;
    height: 50%;
    margin: -25% 0 0 -20%;
    text-align: center;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    transition: border-color 0.2s linear;
    -moz-transition: border-color 0.2s linear;
    -webkit-transition: border-color 0.2s linear;
    -o-transition: border-color 0.2s linear;
    overflow: hidden;
}

.graph-dropzone.hover {
    border-color: rgba(0, 0, 0, 0.3);
}

.dropzone-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 11;
}

.dropzone-content {
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    bottom: 0;
    margin-top: -70px;
    text-align: center;
    z-index: 10;
}

.dropzone-icon {
    color: rgba(0, 0, 0, 0.2);
    font-size: 10em;
    opacity: 1;
}

.double-view .dropzone-content {
    top: 50%;
    margin-top: -50px;
}

.double-view .graph-dropzone {
    width: 60%;
    height: 40%;
    margin: -20% 0 0 -30%;
}

.quad-view .dropzone-content {
    top: 50%;
    margin-top: -40px;
}

.quad-view .dropzone-icon {
    font-size: 8em;
}

.dropzone-text {
    font-family: MuseoSlab-500;
    margin: 10px 2.5%;
    font-size: 1.4em;
    line-height: 1.3em;
    color: #777;
    text-shadow: 0 1px 1px white;
}

.double-view .dropzone-text,
.quad-view .dropzone-text {
    display: none;
}

#layout-fullscreen-background {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background: #ffffff;
}

.source-description {
    margin-top: 15px;
}

.highcharts-container {
    z-index: 15 !important;
}

.popover-title {
    color: #555;
    font-weight: bold;
}

.popover-content {
    color: #333;
}

.iframe-data
{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 200;
}